import java.util.Scanner;

public class homework1 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int[] hash = new int[10];
        System.out.println("请输入成绩，输入-1结束");
//        int n = scan.nextInt();
//        int[] score = new int[n];
        while (true) {
            int s = scan.nextInt();
            if(s==-1){
                break;
            }
//            score[i] = s;
            if(s==100){
                hash[9]++;
                continue;
            }
            hash[s/10]++;

        }
        for (int i = 0; i < hash.length; i++) {
            System.out.println(i+":"+hash[i]);
        }
    }
}
